package com.example.myannotation.model;

import com.example.myannotation.annotation.MyAnnotation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author tianzhuang
 * @version 1.0
 * @date 2022/1/7 22:36
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Student {
    /**
     * 姓名
     */
    private String name;
    /**
     * 性别
     */
    @MyAnnotation(readConverterExp = "0=男,1=女,2=未知")
    private String gender;

}
